package cn.com.nes.site.entity.em;

import cn.com.nes.site.handle.serializer.EnumDeserializer;
import cn.com.nes.site.handle.serializer.EnumSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@JsonSerialize(using = EnumSerializer.class)
@JsonDeserialize(using = EnumDeserializer.class)
public interface IEnum<T> {

    T getKey();

}
